//
//  AWRadioHomeCell.m
//  EPA
//
//  Created by 请叫我灬阿文 on 16/4/22.
//  Copyright © 2016年 请叫我阿文. All rights reserved.
//

#import "AWRadioHomeCell.h"
#import "SDWebImageCompat.h"
#import "UIImageView+WebCache.h"
@interface AWRadioHomeCell ()

@property (weak, nonatomic) IBOutlet UIImageView *coverimgImage;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *descLabel;
@property (weak, nonatomic) IBOutlet UILabel *countLabel;

@end

@implementation AWRadioHomeCell
-(void)layoutSubviews{
    [self.coverimgImage sd_setImageWithURL:[NSURL URLWithString:self.model.coverimg]];
    self.titleLabel.text =self.model.title;
    self.descLabel.text =self.model.desc;
    self.countLabel.text = [NSString stringWithFormat:@"%ld",self.model.count];
    
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
